﻿<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="utf-8" />
    <meta name="msapplication-tap-highlight" content="no" /> 
    <meta name="viewport" content="width=device-width" />
    <meta  http-equiv="X-UA-Compatible" content="IE=Edge" /> 
    <title>Tests/@ViewBag.Title</title>
    <link href="~/favicon.ico" rel="shortcut icon" type="image/x-icon" />
    <style>
        a:active{ background: inherit; }
    </style>
    @Styles.Render("~/Content/css")
    @RenderSection("styles", required: false)
    @Styles.Render("~/Content/theme")

    @Scripts.Render("~/bundles/modernizr")
    @Scripts.Render("~/bundles/jquery")
    @Scripts.Render("~/bundles/jqueryui")
</head>
<body>
    <header>
        <div class="content-wrapper">
        <h3>@Html.ActionLink("My Tests", "Index", "Home", null, new { Title = "Run your tests" })</h3> |
        <h3>@Html.ActionLink("Run", "Index", "TestRun", null, new { Title = "Create and manage test runs" })</h3> |
        <h3>@Html.ActionLink("Plan", "Index", "TestPlan", null, new { Title = "Create and manage test plans" })</h3> |
        <h3>@Html.ActionLink("Scenarios", "Index", "TestScenario", null, new { Title = "Create and manage test scenarios" })</h3>
        @if (User.IsInRole("Admin"))
        {
            <text> | </text>
            <h3>@Html.ActionLink("Configuration", "Index", "Config", null, new { Title = "Configuration" })</h3>
        }
        <h3 class="login">@Html.Partial("_Login")</h3>
        </div>
    </header>
    <section class="navigation">
        <div class="content-wrapper">@RenderSection("navigation", false)</div>
    </section>
    <section class="body content-wrapper">
    @RenderBody()
    </section>
    <footer>&copy; @DateTime.Now.Year - Tom Klipps</footer>

    @RenderSection("scripts", required: false)
</body>
</html>
